import service from '@/utils/request'

export function record(payload = {}){
     return service.get('/form' , {params:payload})
}

export function daily(payload = {}){
     return service.get('/date' , {params:payload})
}

export function form1(payload = {}){
     return service.get('/table' , {params:payload})
}

export function qingjia(payload = {}){
     return service.get('/qingjia' , {params:payload})
}

export function qingjiaadd(payload = {}){
     console.log(payload);
     return service.post('/qingjia' , payload)
}

export function qingjiadel(payload:any = {}){
     console.log(payload);
     return service.delete('/qingjia/'+payload.id, payload)
}

export function qingjiaedit(payload:any = {}){
     return service.patch('/qingjia/'+payload.id, payload)
}

